<?php
/**
 * @package		Joomla.Plugin
 * @subpackage	System.Jblibrary
 * @author		Joomla Bamboo - design@joomlabamboo.com
 * @copyright 	Copyright (c) 2013 Joomla Bamboo. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 * @version		2.1.4
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

JLoader::import('zen.addon.base', ZEN_LIBRARY_PATH);

class ZenAddonIe6warning extends ZenAddonBase
{
	public static function getScriptFile()
	{
		return ZEN_LIBRARY_MEDIA_URI . 'js/addons/jquery-ie6warning.min.js';
	}

	public static function getScript($selector = 'img')
	{
		return '
			jQuery(document).ready(function() {
				jQuery("' . $selector . '").lazyload({
					effect : "fadeIn"
				});
			});
		';
	}
}
